﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Citi.OTFPC.Resource.ConsoleUI.WcfService;

namespace Citi.OTFPC.Resource.ConsoleUI
{
    class Program
    {
        static void Main(string[] args)
        {
            //var resource = new Domain.Resource().GetByName("Nathan Guedini");
            var resource = new Domain.Resource().GetByName("Fabio Cantarani");

            var client = new ResourceClient();
            client.Open();
            var resource2 = client.GetByName("Fabio Cantarani");
            var teste = resource2;
            // Use the 'client' variable to call operations on the service.

            // Always close the client.
            client.Close();


        }
    }
}
